package com.dev.op.enums;


public enum TestCaseResultCode {
    COMPILE_ERROR("编译错误", 601,"COMPILE_ERROR"),
    ACCEPTED("通过测试用例",600,"ACCEPTED"),
    TIME_LIMIT_EXCEEDED("超出运行时间限制",602,"TIME_LIMIT_EXCEEDED"),
    RUN_TIME_ERROR("代码运行时错误",603,"RUN_TIME_ERROR"),;

    private final int code;
    private final String message;
    private final String flag;
    TestCaseResultCode(String message,int code,String flag) {
        this.code = code;
        this.message = message;
        this.flag = flag;
    }
    public int code() { return code; }
    public String message() { return message; }
    public String flag() { return flag; }
}
